<?php
class Data_Model_NguoiDung extends Data_Model_DomainObjectAbstract{
	
	private $_tennd = null;
	private $_email = null;
	private $_tendangnhap = null;
	private $_matkhau = null;
	private $_khoa = null;
	private $_quyenhan = null;
	/**
	 * @return the $_tennd
	 */
	public function getTennd() {
		return $this->_tennd;
	}

	/**
	 * @param NULL $_tennd
	 */
	public function setTennd($tennd) {
		$this->_tennd = $tennd;
	}

	/**
	 * @return the $_email
	 */
	public function getEmail() {
		return $this->_email;
	}

	/**
	 * @param NULL $_email
	 */
	public function setEmail($email) {
		$this->_email = $email;
	}

	/**
	 * @return the $_tendangnhap
	 */
	public function getTendangnhap() {
		return $this->_tendangnhap;
	}

	/**
	 * @param NULL $_tendangnhap
	 */
	public function setTendangnhap($tendangnhap) {
		$this->_tendangnhap = $tendangnhap;
	}

	/**
	 * @return the $_matkhau
	 */
	public function getMatkhau() {
		return $this->_matkhau;
	}

	/**
	 * @param NULL $_matkhau
	 */
	public function setMatkhau($matkhau) {
		$this->_matkhau = $matkhau;
	}

	/**
	 * @return the $_khoa
	 */
	public function getKhoa() {
		return $this->_khoa;
	}
	
	public function khoaList()
	{
		if($this->_khoa == 1)
		{
			$this->_khoa = (string)$this->_khoa = 'Khóa';
		}
		else
		{
			$this->_khoa = (string)$this->_khoa = 'Không khóa';
		}
		return $this->_khoa;
	}

	/**
	 * @param NULL $_khoa
	 */
	public function setKhoa($khoa) {
		$this->_khoa = $khoa;
	}

	/**
	 * @return the $_quyenhan
	 */
	public function getQuyenhan() {
		return $this->_quyenhan;
	}

	/**
	 * @param NULL $_quyenhan
	 */
	public function setQuyenhan($quyenhan) {
		$this->_quyenhan = $quyenhan;
	}	
	
}